<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleBanqueProxyid" scope="session" class="methodes.BanqueProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
sampleBanqueProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = sampleBanqueProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        sampleBanqueProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        methodes.Banque getBanque10mtemp = sampleBanqueProxyid.getBanque();
if(getBanque10mtemp == null){
%>
<%=getBanque10mtemp %>
<%
}else{
        if(getBanque10mtemp!= null){
        String tempreturnp11 = getBanque10mtemp.toString();
        %>
        <%=tempreturnp11%>
        <%
        }}
break;
case 13:
        gotMethod = true;
        String idCompteRetrait_1id=  request.getParameter("idCompteRetrait16");
            java.lang.String idCompteRetrait_1idTemp = null;
        if(!idCompteRetrait_1id.equals("")){
         idCompteRetrait_1idTemp  = idCompteRetrait_1id;
        }
        String valeur_2id=  request.getParameter("valeur18");
        int valeur_2idTemp  = Integer.parseInt(valeur_2id);
        String idCompteAjout_3id=  request.getParameter("idCompteAjout20");
            java.lang.String idCompteAjout_3idTemp = null;
        if(!idCompteAjout_3id.equals("")){
         idCompteAjout_3idTemp  = idCompteAjout_3id;
        }
        String motDePasseCompteRetrait_4id=  request.getParameter("motDePasseCompteRetrait22");
            java.lang.String motDePasseCompteRetrait_4idTemp = null;
        if(!motDePasseCompteRetrait_4id.equals("")){
         motDePasseCompteRetrait_4idTemp  = motDePasseCompteRetrait_4id;
        }
        java.lang.String effectuerPaiement13mtemp = sampleBanqueProxyid.effectuerPaiement(idCompteRetrait_1idTemp,valeur_2idTemp,idCompteAjout_3idTemp,motDePasseCompteRetrait_4idTemp);
if(effectuerPaiement13mtemp == null){
%>
<%=effectuerPaiement13mtemp %>
<%
}else{
        String tempResultreturnp14 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(effectuerPaiement13mtemp));
        %>
        <%= tempResultreturnp14 %>
        <%
}
break;
case 24:
        gotMethod = true;
        String nomClient_5id=  request.getParameter("nomClient27");
            java.lang.String nomClient_5idTemp = null;
        if(!nomClient_5id.equals("")){
         nomClient_5idTemp  = nomClient_5id;
        }
        String prenomClient_6id=  request.getParameter("prenomClient29");
            java.lang.String prenomClient_6idTemp = null;
        if(!prenomClient_6id.equals("")){
         prenomClient_6idTemp  = prenomClient_6id;
        }
        String password_7id=  request.getParameter("password31");
            java.lang.String password_7idTemp = null;
        if(!password_7id.equals("")){
         password_7idTemp  = password_7id;
        }
        java.lang.String creerNouveauCompte24mtemp = sampleBanqueProxyid.creerNouveauCompte(nomClient_5idTemp,prenomClient_6idTemp,password_7idTemp);
if(creerNouveauCompte24mtemp == null){
%>
<%=creerNouveauCompte24mtemp %>
<%
}else{
        String tempResultreturnp25 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(creerNouveauCompte24mtemp));
        %>
        <%= tempResultreturnp25 %>
        <%
}
break;
}
} catch (Exception e) { 
%>
Exception: <%= org.eclipse.jst.ws.util.JspUtils.markup(e.toString()) %>
Message: <%= org.eclipse.jst.ws.util.JspUtils.markup(e.getMessage()) %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>